Software Development
Software Testing with TestNG
Complex TestNG Integrations and Implementations
Decoding TestNG in Detail
Exploring TestNG

Complex TestNG Integrations and Implementations

Course Number:
sd_teng_a03_it_enus
Lesson Objectives

Complex TestNG Integrations and Implementations

  • start the course
  • describe the multithreading feature provided by TestNG and how to run tests in multithread mode
  • demonstrate the process of writing a test with the multithread feature
  • define build automation and its benefits, including integrating build automation in TestNG
  • describe the various build tools that can be used in TestNG and their benefits
  • describe the process of installing Ant and using it to run TestNG tests
  • list the steps in installing Maven and using it to run TestNG tests
  • describe the process of installing and using SVN, including check in and check out
  • specify the process for installing Hudson and Ant
  • configure Hudson to create a job that runs Ant
  • define the use of reporting in TestNG test execution
  • demonstrate the process of using listeners and reporters in tests
  • demonstrate the process of writing custom reporters and loggers
  • describe parallelism and the various automation and build tools for TestNG, including installation, setup, and use with TestNG

Overview/Description
There are several build tools and automations that can be used to enhance and automate unit testing. In this course, you'll explore parallelism, logging, and reporting, including integrations with Apache Ant, Maven, Subversion, and Hudson.

Target Audience
Software professionals, testers, developers, and anyone interested in learning TestNG to improve their unit testing; anyone interested in learning about integration and API testing

Decoding TestNG in Detail

Course Number:
sd_teng_a02_it_enus
Lesson Objectives

Decoding TestNG in Detail

  • start the course
  • describe the use of the @Test annotation in TestNG, including the various important attributes
  • identify the purpose of TestNG assertions and create an example using TestNG Asserts
  • define the use of the parameterization feature in TestNG
  • describe the DataProvider feature in TestNG and what it's used for
  • demonstrate the use of DataProvider by creating a test method including DataProvider
  • recall the dependency of tests and the @Factory annotation
  • use the @Factory annotation to implement tests at runtime
  • describe the concepts of grouping test methods, including grouping tests and regular expressions
  • demonstrate the process of running a TestNG group
  • describe the dependency feature in TestNG, including writing a multiple dependency test and regular expressions
  • demonstrate the process of running a test that depends on or inherits from another artifact
  • describe the various TestNG annotations, including dependencies and groups

Overview/Description
TestNG has various annotations and methods that can be used to create complex tests. In this course, you will explore these areas and more annotations, including groups and dependencies.

Target Audience
Software professionals, testers, developers, and anyone interested in learning TestNG to improve their unit testing; anyone interested in learning about integration and API testing

Exploring TestNG

Course Number:
sd_teng_a01_it_enus
Lesson Objectives

Exploring TestNG

  • start the course
  • define TestNG and describe its purpose in unit testing
  • demonstrate specific features and benefits, including test case writing, of TestNG
  • list the requirements for installing TestNG for all available platforms
  • list the steps for installing Eclipse on all available platforms and mapping the necessary directories
  • describe the steps of installing the TestNG plugin in Eclipse and verifying that it is successful
  • demonstrate the process of creating a project and a basic test using Eclipse and TestNG
  • recognize the concepts behind using the testng.xml configuration file, including when to use it
  • demonstrate the process of creating a test suite and testng.xml file and executing it
  • demonstrate the process of creating a testng.xml file to run multiple tests
  • describe the use of annotations in TestNG, including order of execution and benefits
  • demonstrate the use of Before and After annotations and execute a Java project that includes various types
  • define TestNG, including concepts of installing and configuring the framework, and create a basic test and test suite

Overview/Description
TestNG is a testing framework inspired by JUnit and Nunit. It supports a wide variety of test categories. This course will introduce you to TestNG, including installing TestNG and installing and configuring Eclipse to support it.

Target Audience
Software professionals, testers, developers, and anyone interested in learning TestNG to improve their unit testing; anyone interested in learning about integration and API testing

Close Chat Live